package com.ruoyi.project.domain.query;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.base.Field;
import com.ruoyi.common.core.base.Query;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class ProjectFeeQuery extends Query {

    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 管家婆项目id */
    @Excel(name = "管家婆项目id")
    private String housekeeperProject;

    /** 总费用 */
    @Excel(name = "总费用")
    private BigDecimal total;

    /** 报销类型 */
    @Excel(name = "报销类型")
    private String type;

    /** 报销日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报销日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitDate;

    private String userId;

    @TableField(exist = false)
    private String projectNo;

    //是否重新获取
    private String refresh;

    //往来单位的主键ID
    @JsonSerialize(using = ToStringSerializer.class)
    private Long mainId;


    private String customerId;


}